﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace NCmd
{
    public class CmdScene : Cmd
    {
        public int ThisID;
    }

    /// <summary>
    /// 生命体移动请求
    /// </summary>
    public class MoveReq : CmdScene
    {
        public Vector3 To; // 目标
        public Vector3 From; // 当前位置
    }

    /// <summary>
    /// 生命体移动控制 res
    /// </summary>
    public class MoveRes : CmdScene
    {
        public Vector3 To; // 目标
        public Vector3 From; // 当前位置
    }
    // req res
    public class MoveStop : CmdScene
    {
        public Vector3 Pos;
    }
    // res
    public class DestroyRole : CmdScene
    {

    }
    // res
    public class DestroyNpc : CmdScene
    {

    }

    // 辅助放技能 req res
    public class AssistCastSkill : CmdScene
    {
        public int SkillID;
        public Vector3 CasterPos; // 施法者位置(用于校验)
        public Vector3 TargetPos; // 目标位置(地面位置)
        public int TargetThisID; // 第一目标(用于瞄准)
    }

    // 请求验证技能伤害 req
    public class ReqSkillHit : CmdScene
    {
        public List<int> TargetList; // 目标列表(用于伤害计算)
    }

    // 伤害 res
    public class HurtList : CmdScene
    {
        public List<HurtData> List;
    }
}
